$OpenBSD: patch-build_sh,v 1.1.1.1 2013/12/20 00:54:06 sthen Exp $
--- build.sh.orig	Mon Nov 25 17:23:09 2013
+++ build.sh	Mon Nov 25 17:23:25 2013
@@ -19,7 +19,7 @@ elif [[ $OSTYPE = darwin* ]]; then
    # We only support modern Mac machines, they are at least using
    # hyperthreaded dual-core CPU.
    COMPILE_JOBS=4
-elif [[ $OSTYPE == freebsd* ]]; then
+elif [[ $OSTYPE == freebsd* ]] || [[ $OSTYPE == openbsd* ]]; then
    COMPILE_JOBS=`sysctl -n hw.ncpu`
 else
    CPU_CORES=`grep -c ^processor /proc/cpuinfo`
